package ${genParam.packageName}.${genParam.moduleName}.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ${genParam.packageName}.common.utils.PageUtils;
import ${genParam.packageName}.common.utils.Query;

import ${genParam.packageName}.${genParam.moduleName}.dao.${className}Dao;
import ${genParam.packageName}.${genParam.moduleName}.entity.${className};
import ${genParam.packageName}.${genParam.moduleName}.service.${className}Service;


@Service("${className?uncap_first}Service")
public class ${className}ServiceImpl extends ServiceImpl<${className}Dao, ${className}> implements ${className}Service {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<${className}> page = this.page(
                new Query<${className}>().getPage(params),
                new QueryWrapper<${className}>()
        );
        return new PageUtils(page);
    }

<#if (operate.name)?? && operate.name == "import" >
    @Override
    public ExcelVerifyHandlerResult verifyHandler(${className} ${classname}) {

        return null
    }
</#if>
}